package com.skivingcloud.report.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serial;

/**
 *  实体类。
 *
 * @author skivingcloud
 * @since 2024-11-13
 */
@Schema(description = "")
@Table("report_luckysheet_online_cell")
public class ReportLuckysheetOnlineCell implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Id
    @Schema(description = "主键")
    private String id;

    /**
     * 模板id
     */
    @Schema(description = "模板id")
    private String tplId;

    /**
     * 模板sheetid
     */
    @Schema(description = "模板sheetid")
    private String sheetId;

    /**
     * 横坐标
     */
    @Schema(description = "横坐标")
    private Integer coordsx;

    /**
     * 纵坐标
     */
    @Schema(description = "纵坐标")
    private Integer coordsy;

    /**
     * 单元格值
     */
    @Schema(description = "单元格值")
    private String cellData;

    /**
     * 单元格内容类型 1固定值 2变量 3循环块
     */
    @Schema(description = "单元格内容类型 1固定值 2变量 3循环块")
    private String cellValueType;

    /**
     * 创建人
     */
    @Schema(description = "创建人")
    private String creator;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    /**
     * 更新人
     */
    @Schema(description = "更新人")
    private String updater;

    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;

    /**
     * 删除标记 1是 0否
     */
    @Schema(description = "删除标记 1是 0否")
    private String delFlag;

    /**
     * 单元格值格式
     */
    @Schema(description = "单元格值格式")
    private String ct;

    /**
     * 字体
     */
    @Schema(description = "字体")
    private String ff;

    /**
     * 背景颜色
     */
    @Schema(description = "背景颜色")
    private String bg;

    /**
     * 字体颜色
     */
    @Schema(description = "字体颜色")
    private String fc;

    /**
     * 粗体 0 常规  1加粗
     */
    @Schema(description = "粗体 0 常规  1加粗")
    private String bl;

    /**
     * 斜体 0 常规  1 斜体
     */
    @Schema(description = "斜体 0 常规  1 斜体")
    private String it;

    /**
     * 字体大小
     */
    @Schema(description = "字体大小")
    private Integer fs;

    /**
     * 删除线0 常规 、 1 删除线
     */
    @Schema(description = "删除线0 常规 、 1 删除线")
    private String cl;

    /**
     * 垂直对齐 0 中间、1 上、2下
     */
    @Schema(description = "垂直对齐 0 中间、1 上、2下")
    private String vt;

    /**
     * 水平对齐 0 居中、1 左、2右
     */
    @Schema(description = "水平对齐 0 居中、1 左、2右")
    private String ht;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTplId() {
        return tplId;
    }

    public void setTplId(String tplId) {
        this.tplId = tplId;
    }

    public String getSheetId() {
        return sheetId;
    }

    public void setSheetId(String sheetId) {
        this.sheetId = sheetId;
    }

    public Integer getCoordsx() {
        return coordsx;
    }

    public void setCoordsx(Integer coordsx) {
        this.coordsx = coordsx;
    }

    public Integer getCoordsy() {
        return coordsy;
    }

    public void setCoordsy(Integer coordsy) {
        this.coordsy = coordsy;
    }

    public String getCellData() {
        return cellData;
    }

    public void setCellData(String cellData) {
        this.cellData = cellData;
    }

    public String getCellValueType() {
        return cellValueType;
    }

    public void setCellValueType(String cellValueType) {
        this.cellValueType = cellValueType;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getCt() {
        return ct;
    }

    public void setCt(String ct) {
        this.ct = ct;
    }

    public String getFf() {
        return ff;
    }

    public void setFf(String ff) {
        this.ff = ff;
    }

    public String getBg() {
        return bg;
    }

    public void setBg(String bg) {
        this.bg = bg;
    }

    public String getFc() {
        return fc;
    }

    public void setFc(String fc) {
        this.fc = fc;
    }

    public String getBl() {
        return bl;
    }

    public void setBl(String bl) {
        this.bl = bl;
    }

    public String getIt() {
        return it;
    }

    public void setIt(String it) {
        this.it = it;
    }

    public Integer getFs() {
        return fs;
    }

    public void setFs(Integer fs) {
        this.fs = fs;
    }

    public String getCl() {
        return cl;
    }

    public void setCl(String cl) {
        this.cl = cl;
    }

    public String getVt() {
        return vt;
    }

    public void setVt(String vt) {
        this.vt = vt;
    }

    public String getHt() {
        return ht;
    }

    public void setHt(String ht) {
        this.ht = ht;
    }

}
